package com.fast.alden.admin.service.impl;

import com.fast.alden.admin.service.SysMessageService;
import com.fast.alden.common.service.impl.BaseTreeNodeEntityServiceImpl;
import com.fast.alden.data.model.SysMessage;
import com.fast.alden.data.repo.SysMessageRepository;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

@Service
public class SysMessageServiceImpl extends BaseTreeNodeEntityServiceImpl<SysMessage, SysMessageRepository> implements SysMessageService {
    @Resource
    private SysMessageRepository repository;

    @Override
    protected Class<SysMessage> getEClass() {
        return SysMessage.class;
    }

    @Override
    protected SysMessageRepository getRepository() {
        return repository;
    }
}
